ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / MenuBase<T> Class / Owner Property






In This Topic
    Owner Property (MenuBase<T>)
    In This Topic
    Gets or sets the selector string of the element that owns this menu.
    Syntax
    'Declaration
     
    
    Public Property Owner As System.String
    'Usage
     
    
    Dim instance As MenuBase(Of T)
    Dim value As System.String
     
    instance.Owner = value
     
    value = instance.Owner
    public System.string Owner {get; set;}
    public read-write property Owner: System.String; 
    public function get,set Owner : System.String
    public: __property System.string* get_Owner();
    public: __property void set_Owner( 
       System.string* value
    );
    public:
    property System.String^ Owner {
       System.String^ get();
       void set (    System.String^ value);
    }
    Remarks
    If we want a context menu, we should hide this menu by setting style or attribute.
    See Also